package com.xcdh.client;

import com.xcdh.domain.vo.R;
import com.xcdh.domain.entity.UserDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("xcdh-base")
public interface UserClient {

    @GetMapping("/user/findUserByName")
    public R<UserDO> findUserByName(@RequestParam("username") String username);
}
